package com.zysc.processflow.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zysc.processflow.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * <p>
 * 人员表
 * </p>
 *
 * @author 正元智慧城市_
 * @since 2022-11-23
 */
@Data
@ToString(callSuper = true)
public class Person extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 组织机构ID
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "orgid", required = false,hidden=true)
    private String orgid;

    /**
     * 组织机构名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "orgname", required = false,hidden=true)
    private String orgname;

    /**
     * 上级组织机构名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "fatherorgname", required = false,hidden=true)
    private String fatherorgname;

    @TableField(exist = false)
    @ApiModelProperty(value = "personorgid", required = false,hidden=true)
    private String personorgid;

    @TableField(exist = false)
    @ApiModelProperty(value = "roleidlist", required = false,hidden=true)
    private List<String> roleidlist;


    /**
     * 用户邮箱
     */
    private String email;

    /**
     * 姓名
     */
    private String name;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 用户性别（0男 1女)
     */
    private String sex;

    /**
     * 备注
     */
    private String remark;

    /**
     * 顺序
     */
    private Integer sortnum;

    /**
     * 状态 0-启用;1-停用
     */
    private Integer status;
    /**
     * 浙政钉用户用户信息使用
     */
    private String accountid;

}
